package com.alks.function.data.request.biocontrol.deptwork;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class ProdPlanUpRequest {

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "成型上线日")
    private LocalDate lastDate;

    @ApiModelProperty(value = "成型线别")
    private String lastLine;

    @ApiModelProperty(value = "冲裁单位")
    private String cutDept;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "一裁生控计划日")
    private LocalDate cutPlanNew;

    @ApiModelProperty(value = "一裁外发数")
    private BigDecimal cutOutQty;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "工艺生控计划日")
    private LocalDate hfPlanNew;

    @ApiModelProperty(value = "工艺外发数")
    private BigDecimal hfOutQty;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "二三裁生控计划日")
    private LocalDate matchPlanNew;

    @ApiModelProperty(value = "二三裁外发数")
    private BigDecimal matchOutQty;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "针车生控计划日")
    private LocalDate stitchPlanNew;

    @ApiModelProperty(value = "针车外发数")
    private BigDecimal stitchOutQty;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "成型外发数")
    private LocalDate lastPlanNew;

    @ApiModelProperty(value = "成型外发数")
    private BigDecimal lastOutQty;

}
